<?php

/* 
 * To change this license header, choose License Headers in Project Properties.
 * To change this template file, choose Tools | Templates
 * and open the template in the editor.
 */

echo json_encode($_POST['jsonstring']);
?>
<form action="json" method="POST">
    <input name="jsonstring" value="" placeholder="type regex here" />
    <button type="submit">parse</button>
</form>